<html>
<head>
<meta http-equiv=Content-Type content=text/html;charset=utf-8>
<#include "../inc/commonJs.html">
<script type="text/JavaScript">
	function doSave(){
		var url = "<#if id??>editCustomLog.do?id=${id}<#else>addCustomLog.do</#if>";
		$('form').form('submit',{  
		    url:url,
		    onSubmit:function(){
				return $(this).form('validate')
		    },  
		    success:function(data){  
				top.closemodalwindow(true,data);
		    }  
		});
	}
</script>

</head>
<body>
<div class="easyui-panel" data-options='fit:true,border:false'> 
	<form id='form1' name="form1" method="post" OnSubmit="return checkdata()">
		<input type="hidden" name="customid" id="customid" value="${customid!}">
		<table border="0" cellspacing="0" width="99%" cellpadding="0" class="table_all_border"  style=" margin:5px 5px 5px 5px ; border-collapse: collapse; border:#ccc 1px solid;">
		<tr> 
			<td colspan="2"   class="td_table_top" align="center" >
				客户日志信息
			</td>
		</tr>
		<tr height="35"> 
			<td align="right" class="td_table_1" valign="middle"><font color="#FF0000">*</font>拜访日期：</td>
			<td class="td_table_2" colspan="3"> 
				<input name="dt"  value="${obj.dt!}"type="TEXT" value="" size=30 onClick="calendar.show(this);" maxlength=100 style=" height:22;background-color:ffffff;border: 1 double; border-color:#BDD0FD;" >
			</td>
		</tr>
		<tr height="35"> 
			<td align="right" class="td_table_1" valign="middle"><font color="#FF0000">*</font>日志标题：</td>
			<td class="td_table_2" colspan="3"> 
				<input name="title" value="${obj.title!}" type="TEXT" value="" size=30 maxlength=100 style=" height:22;background-color:ffffff;border: 1 double; border-color:#BDD0FD;" >
			</td>
		</tr>
			</tr>
		
		<tr height="35">
			<td align="right" class="td_table_1" valign="middle"><font color="#FF0000">*</font>日志内容：</td> 
			<td align="left" class="td_table_2">
				<textarea rows="7" cols="50" value="${obj.content!}" name="content"></textarea>
			</td>
		</tr>
	</table>
	</form>
</div>
</body>
</html>